#include "Sever.hpp"
#include "Dict.hpp"
#include <memory>

int main()
{
    uint16_t port = 8888;
    Scream();

    Dict dict;
    //
    func_t func = std::bind(&Dict::Translate, &dict, std::placeholders::_1);

    UdpServer sver(func, port);
    sver.InitServer();
    sver.Start();
    
    return 0;
}